import Vue from 'vue'
import App from './App.vue'

import router from '@/router'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import VueKatex from 'vue-katex'
import 'katex/dist/katex.min.css'

import axios from 'axios'

Vue.use(ElementUI)
Vue.use(VueKatex, {
	globalOptions: {}
})

Vue.prototype.$axios = axios
axios.defaults.baseURL = 'http://114.115.136.139:8001'
// axios.defaults.baseURL = 'http://114.115.136.139:9001'
// axios.defaults.baseURL = 'http://127.0.0.1:8001'

import '@/config/editor.js'

Vue.config.productionTip = false

new Vue({
	render: h => h(App),
	router
}).$mount('#app')
